package com.neuedu.his.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.his.mapper.CheckapplyMapper;
import com.neuedu.his.po.Checkapply;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author root
 * @description 针对表【checkapply】的数据库操作Service
 * @createDate 2025-06-25 10:55:53
 */
public interface CheckapplyService extends IService<Checkapply> {


    public Map<String, Object> getinfoAndPriceByMedicalID(Integer mid);

    // 根据病历号查询检验申请列表（状态为已收费或已执行）
    List<Checkapply> getCheckApplyByMedicalID(String medicalID);


    public boolean chargeByIds(List<Integer> ids);


    // 批量执行确认
    boolean batchExecute(List<Integer> ids);

    // 批量取消执行
    boolean batchCancelExecute(List<Integer> ids);

    // 录入检验结果
    boolean inputResult(Integer id, String result, Integer resultOperID);


}

